export const columns = [
  { label: '', prop: 'index', width: '80px', type: 'index' },
  { label: '资讯标题', prop: 'title', width: '120px' },
  {
    label: '资讯类型',
    prop: 'type',
    type: 'select',
    // HOTSPOT-热点 KNOWLEDGE-知识 QUICK_START-快速上手
    options: [
      { label: '热点', value: 'HOTSPOT' },
      { label: '知识', value: 'KNOWLEDGE' },
      { label: '快速上手', value: 'QUICK_START' },
    ],
    width: '120px',
  },
  {
    label: '资讯触达',
    prop: 'reachType',
    type: 'select',
    options: [
      { label: '本小区', value: 'COMMUNITY' },
      { label: '全部', value: 'ALL' },
    ],
    width: '120px',
  },
  { label: '创建时间', prop: 'createTime', type: 'datetime', width: '120px' },
  { label: '操作', prop: 'action', slotName: 'action', width: '100px', fixed: 'right' },
]

export const formOptions = [
  { label: '资讯标题', prop: 'title' },
  {
    label: '资讯类型',
    prop: 'type',
    type: 'select',
    options: [
      { label: '热点', value: 'HOTSPOT' },
      { label: '知识', value: 'KNOWLEDGE' },
      { label: '快速上手', value: 'QUICK_START' },
    ],
  },
  {
    label: '资讯触达',
    prop: 'reachType',
    type: 'select',
    options: [
      { label: '本小区', value: 'COMMUNITY' },
      { label: '全部', value: 'ALL' },
    ],
  },
  { label: '资讯内容', prop: 'content', type: 'editor', span: 3 },
  // 1-时，2-分，3-秒，4-天，5-元,6-次
]
